package dao

import (
	"go-admin/src/model"

)

func UserInsert(user *model.User) (int,error) {
	result:= db.Create(user)
	return user.ID,result.Error

}


